//
// Created by YE on 2024/1/6.
//
#include "ych_error.h"
Error_Stack errorStack=Error_Stack();
void throw_error(Error_State errorState, const String& errorInfo){
    errorStack.push({errorState, errorInfo});
}